﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2012/2/6 19:00:11
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 单位实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class RS_Unit : Entity
    {
        #region Inner members
        /// <summary>
        /// 单位编号
        /// </summary>
        private int _unitId;

        /// <summary>
        /// 单位名称
        /// </summary>
        private string _unitName = string.Empty;
        #endregion

        #region Accessor
        /// <summary>
        /// 获取或设置单位编号
        /// </summary>
        [DataMember]
        public int UnitId
        {
            get { return _unitId; }
            set { _unitId = value; }
        }

        /// <summary>
        /// 获取或设置单位名称
        /// </summary>
        [DataMember]
        public string UnitName
        {
            get { return _unitName; }
            set { _unitName = value; }
        }
        #endregion
    }
}
